package com.study4j.crontab.rpc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import com.study4j.common.model.ResultModel;
import com.study4j.crontab.rpc.fallback.RabbitMQServiceFallback;

@FeignClient(value = "study4j-sm",fallback = RabbitMQServiceFallback.class,decode404 = true)
public interface IRabbitMQService {
	
	/** 
	 * @description RabbitMQ初始化服务
	 * @return
	 * @author Jiangbin
	 * @date 2019年7月29日 上午10:31:26
	 */
	@RequestMapping(value = "/study4j-sm/api/rabbitMQInit",produces = "application/json; charset=UTF-8")
	ResultModel rabbitMQInit();
}
